package com.quanyan.place.wrapper;

import com.quanyan.common.enums.BaseEnum;
import com.quanyan.place.entity.vo.PlaceCategoryVo;
import com.quanyan.place.entity.vo.PlaceUnitSalePlan;

import java.util.Date;
import java.util.List;

/**
 * Created by yangyun on 16-6-6.
 */
public interface PlaceUnitSalePlanWrapper {

    List<PlaceUnitSalePlan> getPlaceUnitSalePlan(Integer placeId, Byte categoryId);

    PlaceCategoryVo getPlaceCategory(Integer placeId);

    List<String> savePlaceSalePlanSingle(PlaceUnitSalePlan placeUnitSalePlan, int period);

    List<String> savePlaceSalePlanBatch(List<PlaceUnitSalePlan> salePlanList, int period);

    void syncPlaceSalePlanScheduled();

    void delInvalidSalePlan(Integer placeId);

    void syncPlaceSalePlan(Integer placeId, Date date);
}
